<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        const pp = '刘德华'
        const ps = {
            uname: '魏忠贤'
        }
        ps.uname = pp
        console.log(pp);
        // pp = '中'
        console.log(ps.uname);
        console.log(pp);
    </script>
</body>

</html>